package com.example.electricbicycle.po;

import java.sql.Timestamp;

public class VehicleStock {
    private int id;
    private int v_id;
    private int quantity;
    private Timestamp last_update;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Timestamp getLast_update() {
        return last_update;
    }

    public void setLast_update(Timestamp last_update) {
        this.last_update = last_update;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getV_id() {
        return v_id;
    }

    public void setV_id(int v_id) {
        this.v_id = v_id;
    }

    public VehicleStock(int vId, int quantity) {
    }

    public VehicleStock(int id,int v_id,int quantity,Timestamp last_update) {
        this.id = id;
        this.quantity = quantity;
        this.v_id = v_id;
        this.last_update = last_update;

    }
}